package com.example.sharding.domain.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.sharding.domain.entity.Department;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author liuxinghong
 * @Description:
 * @date 2020/1/11/01114:17
 */
@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {
    List<Department> listByParam(@Param("name") String name);
}
